﻿using LimaLims.Application.Service.Base.Dto;
using LimaLims.Core;

namespace LimaLims.Application.Service.Basic.Dto
{
    /// <summary>
    /// 物料信息
    /// </summary>
    public class AddMaterialInput : BaseDto
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 供应商Id
        /// </summary>
        public long SupplierId { get; set; }
    }
    public class EditMaterialInput : AddMaterialInput
    {

    }

    public class MaterialOutput : BaseDto
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 供应商Id
        /// </summary>
        public long SupplierId { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }
    }

    /// <summary>
    /// 产品分页
    /// </summary>
    public class MaterialPageInput : PageInputBase
    {
        /// <summary>
        /// 物料编号
        /// </summary>
        public string Code { get; set; }
    }
}
